import request from "@/utils/request";

// 新增检查表
export function postPlanAdd(data) {
  return request({
    url: "/plan/add",
    method: "post",
    data,
  });
}

export function postPlanUpdate(data) {
  return request({
    url: "/plan/update",
    method: "put",
    data,
  });
}

export function getPlanList(data) {
  return request({
    url: "/plan/list",
    method: "post",
    data,
  });
}

export function postPlanDel(data) {
  return request({
    url: "/plan/delete",
    method: "delete",
    data,
  });
}

export function postPlanCheck(data) {
  return request({
    url: "/plan/check",
    method: "post",
    data,
  });
}
